#### Instructions for replication of Hegre, Croicu, Eck, Hogbladh (2020)

To replicate the results in the paper we provide a `python`-based `Jupyter notebook` that contains both the code and the data. To run it, you will need a number of packages. The easiest way to run the notebook is to use Anaconda. We provide a `yaml` file to recreate our environment for Anaconda; once you have installed Anaconda run:

`conda env create -f environment.yml`

in the directory with the replication file. After the environment is created run:

`conda activate candidates`

followed by 

`jupyter notebook ReplicationFile.ipynb`

The notebook is self-contained and presents both the output as well as the code generating the output.